package com.camtc.camcenter.service;

import com.camtc.camcenter.base.service.BaseService;
import com.camtc.camcenter.dao.entity.CloudUser;

import java.util.List;

/**
 * 云桌面用户service
 *
 * @author
 * @date
 */
public interface CloudUserService extends BaseService<CloudUser> {

    /**
     * 根据用户名查找用户
     *
     * @param username
     * @return
     */
    CloudUser findByUsername(String username);

    /**
     * 查找用户的菜单权限标识集合
     *
     * @param username
     * @return
     */
    List<String> findPermissions(String username);
}
